package design.responsibility.demo01;

/**
 * <p>
 * response
 * </P>
 *
 * @author dingwen
 * @date 2021.10.15 10:28
 */
public class Response {
    /**
     * 消息
     */
    private final String message;

    public Response(String message) {
        System.out.println("message = " + message + "处理完请求~");
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    @Override
    public String toString() {
        return "Response{" +
                "message='" + message + '\'' +
                '}';
    }
}
